//
//  BabyCounterViewController.m
//  SHHCPhone
//
//  Created by gfsh on 14-6-23.
//  Copyright (c) 2014年 sheng long. All rights reserved.
//

#import "BabyCounterViewController.h"
#import "BabyCounterView.h"

@interface BabyCounterViewController()
{
    BabyCounterView *bbView;
}
@end

@implementation BabyCounterViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    navigationBarView.title = @"Baby计算器";
    [navigationBarView setNormalLeftMenuButton];
    [navigationBarView setNormalRightButton];

    [self initContentView];
}

- (void)initContentView
{
    bbView = [[BabyCounterView alloc]initWithFrame:CGRectMake(0, NAVIGATIONBAR_HEIGHT, CURRENT_CONTENT_WIDTH, CURRENT_CONTENT_HEIGHT-NAVIGATIONBAR_HEIGHT)];
    [self.view addSubview:bbView];
}

-(void)viewDidDisappear:(BOOL)animated
{
    [super viewDidDisappear:animated];
    [bbView cleanView];
}

@end
